package com.whd.service;

import com.github.pagehelper.PageInfo;
import com.whd.entity.User;

import java.util.List;

/**
 * @author whd
 * @date 2023/06/26 15:53:42
 */
public interface UserService {
    int save(User user);

    int delete(Integer id);

    int update(User user);

    User findOne(Integer id);

    List<User> findAll();

    PageInfo<User> findByPage(Integer pageNum, Integer pageSize);
}
